package com.kingyun.gpsinspection.purificationservice.facade.service.iam.scyx;

import com.alibaba.fastjson.JSONObject;
import com.kingyun.gpsinspection.purificationservice.facade.model.BootstrapSearchBean;
import com.kingyun.gpsinspection.purificationservice.facade.model.iam.scyx.ProjectSummaryDoc;

/**
 * Created by yangsy on 2016/12/22.
 */
public interface ProjectSummaryDocService {
    int deleteByPrimaryKey(String projectId);

    int insert(ProjectSummaryDoc record);

    int insertSelective(ProjectSummaryDoc record);

    /**
     * 新增操作
     * @param record 业务数据
     * @param uploadFiles 更新的文件
     * @param deletedFiles 删除的文件
     * @return
     */
     int insertSelective(ProjectSummaryDoc record, String uploadFiles, String deletedFiles);

    ProjectSummaryDoc selectByPrimaryKey(String projectId);

    int updateByPrimaryKeySelective(ProjectSummaryDoc record);

    /**
     * 修改操作
     * @param record 业务数据
     * @param uploadFiles 更新的文件
     * @param deletedFiles 删除的文件
     * @return
     */
    int updateByPrimaryKeySelective(ProjectSummaryDoc record, String uploadFiles, String deletedFiles);

    int updateByPrimaryKey(ProjectSummaryDoc record);

    JSONObject list(BootstrapSearchBean bootstrapSearchBean);

}
